<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Exil: Référence du fichier src/Action.c</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Exil
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Généré par Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Recherche');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Page&#160;principale</span></a></li>
      <li><a href="annotated.html"><span>Structures&#160;de&#160;données</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Recherche" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Liste&#160;des&#160;fichiers</span></a></li>
      <li><a href="globals.html"><span>Variables&#160;globale</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#func-members">Fonctions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">Référence du fichier src/Action.c</div>  </div>
</div><!--header-->
<div class="contents">

<p>Code des fonctions du module Action.  
<a href="#details">Plus de détails...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="_action_8h_source.html">Action.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="_terrain_8h_source.html">Terrain.h</a>&quot;</code><br/>
<code>#include &lt;string.h&gt;</code><br/>
<code>#include &lt;assert.h&gt;</code><br/>
</div><table class="memberdecls">
<tr><td colspan="2"><h2><a name="func-members"></a>
Fonctions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_action_8c.html#a106e5177e2ab257222c550fd34989297">initAction</a> (<a class="el" href="_action_8h.html#a7186d2fe0085d1d354cc50fafed6ae4d">Action</a> *pact)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialise une structure Action.  <a href="#a106e5177e2ab257222c550fd34989297"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_action_8c.html#a6cd1a099e9bdee3a8afada4e918302eb">creerAction</a> (<a class="el" href="_action_8h.html#a7186d2fe0085d1d354cc50fafed6ae4d">Action</a> **pnouvAct)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Crée une Action.  <a href="#a6cd1a099e9bdee3a8afada4e918302eb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_action_8c.html#a66aed0770879674de8afcc0255ff9eb5">libereAction</a> (<a class="el" href="_action_8h.html#a7186d2fe0085d1d354cc50fafed6ae4d">Action</a> *pact)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Libère la mémoire allouée aux champs de l'action donnée.  <a href="#a66aed0770879674de8afcc0255ff9eb5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_action_8c.html#a946733ed058aa6c4c3a841515f365e8b">detruireAction</a> (<a class="el" href="_action_8h.html#a7186d2fe0085d1d354cc50fafed6ae4d">Action</a> *pact)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Libère la mémoire allouée pour une Action donnée.  <a href="#a946733ed058aa6c4c3a841515f365e8b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_action_8c.html#a09305a52e4e038eb907efcbb366edf0c">getNomAction</a> (const <a class="el" href="_action_8h.html#a7186d2fe0085d1d354cc50fafed6ae4d">Action</a> *pact)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retourne le nom d'une Action donnée.  <a href="#a09305a52e4e038eb907efcbb366edf0c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_action_8c.html#a7bedd108f96dca52e972956e9d803e0c">getRepresentationAction</a> (const <a class="el" href="_action_8h.html#a7186d2fe0085d1d354cc50fafed6ae4d">Action</a> *pact)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retourne le nom de l'image permettant de représenter l'action donnée.  <a href="#a7bedd108f96dca52e972956e9d803e0c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="_action_8h.html#a7186d2fe0085d1d354cc50fafed6ae4d">Action</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_action_8c.html#adb02073f00d962ca6403d6d96f013d45">getActionSuivanteAction</a> (const <a class="el" href="_action_8h.html#a7186d2fe0085d1d354cc50fafed6ae4d">Action</a> *pact)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retourne un pointeur vers l'action suivante d'une action donnée.  <a href="#adb02073f00d962ca6403d6d96f013d45"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_action_8c.html#a4c7f3028936af90dd819039f6217de2c">setNomAction</a> (<a class="el" href="_action_8h.html#a7186d2fe0085d1d354cc50fafed6ae4d">Action</a> *pact, char *nouvNom)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Remplace le nom d'une Action donnée par un nouveau nom.  <a href="#a4c7f3028936af90dd819039f6217de2c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_action_8c.html#ae44b9859e56351c31c18f06445eb3e41">setFonctionAction</a> (<a class="el" href="_action_8h.html#a7186d2fe0085d1d354cc50fafed6ae4d">Action</a> *pact, void(*pnouvFAct)(<a class="el" href="struct_entrepot.html">Entrepot</a> *, <a class="el" href="struct_carte.html">Carte</a> *, int, unsigned int, unsigned int, unsigned int))</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Remplace le pointeur sur fonction d'une action donnée par un nouveau pointeur sur fonction passé en paramètre.  <a href="#ae44b9859e56351c31c18f06445eb3e41"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_action_8c.html#aa7657d612129d80cd0b9bf4a42946d12">setRepresentationAction</a> (<a class="el" href="_action_8h.html#a7186d2fe0085d1d354cc50fafed6ae4d">Action</a> *pact, char *nouvRepres)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Remplace le nom de la représentation d'une Action donnée par un nouveau nom.  <a href="#aa7657d612129d80cd0b9bf4a42946d12"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_action_8c.html#a88179b7fa7a7c62b8f36fd7ff93b4e3b">setActionSuivanteAction</a> (<a class="el" href="_action_8h.html#a7186d2fe0085d1d354cc50fafed6ae4d">Action</a> *pact, <a class="el" href="_action_8h.html#a7186d2fe0085d1d354cc50fafed6ae4d">Action</a> *pactSuiv)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Remplace le contenu du champ actionSuivante d'une Action donnée par un pointeur vers action passé en paramètre.  <a href="#a88179b7fa7a7c62b8f36fd7ff93b4e3b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_action_8c.html#a8dd83d31c261c659884f835ea96dd306">executeFonctionAction</a> (<a class="el" href="_action_8h.html#a7186d2fe0085d1d354cc50fafed6ae4d">Action</a> *pact, <a class="el" href="struct_entrepot.html">Entrepot</a> *pstock, <a class="el" href="struct_carte.html">Carte</a> *pcarte, int modif, unsigned int x, unsigned int y, unsigned int z)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Execute la fonction pointée par le champ pFAct d'une action donnée.  <a href="#a8dd83d31c261c659884f835ea96dd306"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_action_8c.html#afb2798a7b3f6ccd5d9ceca8d3cd82dd1">inactif</a> (<a class="el" href="struct_entrepot.html">Entrepot</a> *pstock, <a class="el" href="struct_carte.html">Carte</a> *pcarte, int modif, unsigned int x, unsigned int y, unsigned int z)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Fonction décrivant l'inaction d'un nain.  <a href="#afb2798a7b3f6ccd5d9ceca8d3cd82dd1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_action_8c.html#a380e7d39713927b6c9fb33bdfd1ade60">recolteBois</a> (<a class="el" href="struct_entrepot.html">Entrepot</a> *pstock, <a class="el" href="struct_carte.html">Carte</a> *pcarte, int modif, unsigned int x, unsigned int y, unsigned int z)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Fonction décrivant l'action de récolte de bois.  <a href="#a380e7d39713927b6c9fb33bdfd1ade60"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_action_8c.html#a6bd18512d723a5ef5783166eaa927b94">finRecolteBois</a> (<a class="el" href="struct_entrepot.html">Entrepot</a> *pstock, <a class="el" href="struct_carte.html">Carte</a> *pcarte, int modif, unsigned int x, unsigned int y, unsigned int z)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Fonction décrivant l'action de fin de récolte de bois.  <a href="#a6bd18512d723a5ef5783166eaa927b94"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_action_8c.html#aa93148854d9f71f6e0f652a3fad61577">recolteMetal</a> (<a class="el" href="struct_entrepot.html">Entrepot</a> *pstock, <a class="el" href="struct_carte.html">Carte</a> *pcarte, int modif, unsigned int x, unsigned int y, unsigned int z)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Fonction décrivant l'action de récolte de metal.  <a href="#aa93148854d9f71f6e0f652a3fad61577"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_action_8c.html#aa8682a788d553032cf427d7e667e1859">finRecolteMetal</a> (<a class="el" href="struct_entrepot.html">Entrepot</a> *pstock, <a class="el" href="struct_carte.html">Carte</a> *pcarte, int modif, unsigned int x, unsigned int y, unsigned int z)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Fonction décrivant l'action de fin de récolte de métal.  <a href="#aa8682a788d553032cf427d7e667e1859"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="_action_8h.html#a7186d2fe0085d1d354cc50fafed6ae4d">Action</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_action_8c.html#a0bfec079c0757a5e88d008762f2a7009">creerCompleteAction</a> (char *nom, char *repres, void(*pFAct)(<a class="el" href="struct_entrepot.html">Entrepot</a> *, <a class="el" href="struct_carte.html">Carte</a> *, int, unsigned int, unsigned int, unsigned int))</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Crée une Action à partir des données fournies et renvoie un pointeur pointant dessus.  <a href="#a0bfec079c0757a5e88d008762f2a7009"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_action_8c.html#a3dbf74f9feb14ff872e23951386139e1">testAction</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Teste les différentes fonctions du module Action.  <a href="#a3dbf74f9feb14ff872e23951386139e1"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="var-members"></a>
Variables</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void(*)(<a class="el" href="struct_entrepot.html">Entrepot</a> *, <a class="el" href="struct_carte.html">Carte</a> <br class="typebreak"/>
*, int, unsigned int, unsigned <br class="typebreak"/>
int, unsigned int)&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_action_8c.html#a6645bb865d09687ed2dc12e7e0b00015">getFonctionAction</a> (const <a class="el" href="_action_8h.html#a7186d2fe0085d1d354cc50fafed6ae4d">Action</a> *pact)</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Description détaillée</h2>
<div class="textblock"><p>Code des fonctions du module Action. </p>
<p>C'est ici qu'est le code des accesseurs, mutateurs ainsi que la fonction de test vérifant le bon fonctionnement du module Action et les fonctions définissant les différentes actions. </p>
</div><hr/><h2>Documentation des fonctions</h2>
<a class="anchor" id="a6cd1a099e9bdee3a8afada4e918302eb"></a><!-- doxytag: member="Action.c::creerAction" ref="a6cd1a099e9bdee3a8afada4e918302eb" args="(Action **pnouvAct)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_action_8h.html#a6cd1a099e9bdee3a8afada4e918302eb">creerAction</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_action_8h.html#a7186d2fe0085d1d354cc50fafed6ae4d">Action</a> **&#160;</td>
          <td class="paramname"><em>pnouvAct</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Crée une Action. </p>
<p>Crée une Action et l'initialise grâce à initAction. </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pnouvAct</td><td>pointeur sur l'adresse de l'Action à créer </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a0bfec079c0757a5e88d008762f2a7009"></a><!-- doxytag: member="Action.c::creerCompleteAction" ref="a0bfec079c0757a5e88d008762f2a7009" args="(char *nom, char *repres, void(*pFAct)(Entrepot *, Carte *, int, unsigned int, unsigned int, unsigned int))" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_action_8h.html#a7186d2fe0085d1d354cc50fafed6ae4d">Action</a>* <a class="el" href="_action_8h.html#a0bfec079c0757a5e88d008762f2a7009">creerCompleteAction</a> </td>
          <td>(</td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>nom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>repres</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void(*)(<a class="el" href="struct_entrepot.html">Entrepot</a> *, <a class="el" href="struct_carte.html">Carte</a> *, int, unsigned int, unsigned int, unsigned int)&#160;</td>
          <td class="paramname"><em>pFAct</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Crée une Action à partir des données fournies et renvoie un pointeur pointant dessus. </p>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>Un pointeur vers la nouvelle Action </dd></dl>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">nom</td><td>Nom de l'action, chaîne de caractères </td></tr>
    <tr><td class="paramname">repres</td><td>Nom de l'image représentant l'action, chaîne de caractères </td></tr>
    <tr><td class="paramname">pFact</td><td>Pointeur sur la fonction à lier à l'action </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a946733ed058aa6c4c3a841515f365e8b"></a><!-- doxytag: member="Action.c::detruireAction" ref="a946733ed058aa6c4c3a841515f365e8b" args="(Action *pact)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_action_8h.html#a946733ed058aa6c4c3a841515f365e8b">detruireAction</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_action_8h.html#a7186d2fe0085d1d354cc50fafed6ae4d">Action</a> *&#160;</td>
          <td class="paramname"><em>pact</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Libère la mémoire allouée pour une Action donnée. </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pact</td><td>Pointeur vers l'action à détruire </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a8dd83d31c261c659884f835ea96dd306"></a><!-- doxytag: member="Action.c::executeFonctionAction" ref="a8dd83d31c261c659884f835ea96dd306" args="(Action *pact, Entrepot *pstock, Carte *pcarte, int modif, unsigned int x, unsigned int y, unsigned int z)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_action_8h.html#a8dd83d31c261c659884f835ea96dd306">executeFonctionAction</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_action_8h.html#a7186d2fe0085d1d354cc50fafed6ae4d">Action</a> *&#160;</td>
          <td class="paramname"><em>pact</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_entrepot.html">Entrepot</a> *&#160;</td>
          <td class="paramname"><em>pstock</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_carte.html">Carte</a> *&#160;</td>
          <td class="paramname"><em>pcarte</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>modif</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>z</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Execute la fonction pointée par le champ pFAct d'une action donnée. </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pact</td><td>Pointeur vers une action </td></tr>
    <tr><td class="paramname">pstock</td><td>Pointeur sur l'entrepôt du clan </td></tr>
    <tr><td class="paramname">pcarte</td><td>Pointeur sur la carte du jeu </td></tr>
    <tr><td class="paramname">modif</td><td>Entier, de combien on incrémente la <a class="el" href="struct_production.html" title="Définition d&#39;une Production.">Production</a> de la case </td></tr>
    <tr><td class="paramname">x</td><td>Entier non signé, coordonnée x de la case où se situe l'action </td></tr>
    <tr><td class="paramname">y</td><td>Entier non signé, coordonnée y de la case où se situe l'action </td></tr>
    <tr><td class="paramname">z</td><td>Entier non signé, coordonnée z de la case où se situe l'action </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a6bd18512d723a5ef5783166eaa927b94"></a><!-- doxytag: member="Action.c::finRecolteBois" ref="a6bd18512d723a5ef5783166eaa927b94" args="(Entrepot *pstock, Carte *pcarte, int modif, unsigned int x, unsigned int y, unsigned int z)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_action_8h.html#a6bd18512d723a5ef5783166eaa927b94">finRecolteBois</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_entrepot.html">Entrepot</a> *&#160;</td>
          <td class="paramname"><em>pstock</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_carte.html">Carte</a> *&#160;</td>
          <td class="paramname"><em>pcarte</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>modif</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>z</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Fonction décrivant l'action de fin de récolte de bois. </p>
<p>Incrémente de la valeur modif le stock de bois de l'entrepôt, puis remet le pourcentage de production à zéro </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pstock</td><td>Pointeur sur l'entrepôt du clan </td></tr>
    <tr><td class="paramname">pcarte</td><td>Pointeur sur la carte du jeu </td></tr>
    <tr><td class="paramname">modif</td><td>Entier, de combien on incrémente le stock de bois de l'entrepôt </td></tr>
    <tr><td class="paramname">x</td><td>Entier non signé, coordonnée x de la case où se situe l'action </td></tr>
    <tr><td class="paramname">y</td><td>Entier non signé, coordonnée y de la case où se situe l'action </td></tr>
    <tr><td class="paramname">z</td><td>Entier non signé, coordonnée z de la case où se situe l'action </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aa8682a788d553032cf427d7e667e1859"></a><!-- doxytag: member="Action.c::finRecolteMetal" ref="aa8682a788d553032cf427d7e667e1859" args="(Entrepot *pstock, Carte *pcarte, int modif, unsigned int x, unsigned int y, unsigned int z)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_action_8h.html#aa8682a788d553032cf427d7e667e1859">finRecolteMetal</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_entrepot.html">Entrepot</a> *&#160;</td>
          <td class="paramname"><em>pstock</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_carte.html">Carte</a> *&#160;</td>
          <td class="paramname"><em>pcarte</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>modif</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>z</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Fonction décrivant l'action de fin de récolte de métal. </p>
<p>Incrémente de la valeur modif le stock de métal de l'entrepôt, puis remet le pourcentage de production de la case à zéro </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pstock</td><td>Pointeur sur l'entrepôt du clan </td></tr>
    <tr><td class="paramname">pcarte</td><td>Pointeur sur la carte du jeu </td></tr>
    <tr><td class="paramname">modif</td><td>Entier, de combien on incrémente le stock de bois de l'entrepôt </td></tr>
    <tr><td class="paramname">x</td><td>Entier non signé, coordonnée x de la case où se situe l'action </td></tr>
    <tr><td class="paramname">y</td><td>Entier non signé, coordonnée y de la case où se situe l'action </td></tr>
    <tr><td class="paramname">z</td><td>Entier non signé, coordonnée z de la case où se situe l'action </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="adb02073f00d962ca6403d6d96f013d45"></a><!-- doxytag: member="Action.c::getActionSuivanteAction" ref="adb02073f00d962ca6403d6d96f013d45" args="(const Action *pact)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_action_8h.html#a7186d2fe0085d1d354cc50fafed6ae4d">Action</a>* <a class="el" href="_action_8h.html#adb02073f00d962ca6403d6d96f013d45">getActionSuivanteAction</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="_action_8h.html#a7186d2fe0085d1d354cc50fafed6ae4d">Action</a> *&#160;</td>
          <td class="paramname"><em>pact</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retourne un pointeur vers l'action suivante d'une action donnée. </p>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>Un pointeur vers action </dd></dl>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pact</td><td>Pointeur vers une action </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a09305a52e4e038eb907efcbb366edf0c"></a><!-- doxytag: member="Action.c::getNomAction" ref="a09305a52e4e038eb907efcbb366edf0c" args="(const Action *pact)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char* <a class="el" href="_action_8h.html#a09305a52e4e038eb907efcbb366edf0c">getNomAction</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="_action_8h.html#a7186d2fe0085d1d354cc50fafed6ae4d">Action</a> *&#160;</td>
          <td class="paramname"><em>pact</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retourne le nom d'une Action donnée. </p>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>Une chaîne de caractères </dd></dl>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pact</td><td>Pointeur vers une action </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a7bedd108f96dca52e972956e9d803e0c"></a><!-- doxytag: member="Action.c::getRepresentationAction" ref="a7bedd108f96dca52e972956e9d803e0c" args="(const Action *pact)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char* <a class="el" href="_action_8h.html#a7bedd108f96dca52e972956e9d803e0c">getRepresentationAction</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="_action_8h.html#a7186d2fe0085d1d354cc50fafed6ae4d">Action</a> *&#160;</td>
          <td class="paramname"><em>pact</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retourne le nom de l'image permettant de représenter l'action donnée. </p>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>Une chaîne de caractères </dd></dl>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pact</td><td>Pointeur vers une action </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="afb2798a7b3f6ccd5d9ceca8d3cd82dd1"></a><!-- doxytag: member="Action.c::inactif" ref="afb2798a7b3f6ccd5d9ceca8d3cd82dd1" args="(Entrepot *pstock, Carte *pcarte, int modif, unsigned int x, unsigned int y, unsigned int z)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_action_8h.html#afb2798a7b3f6ccd5d9ceca8d3cd82dd1">inactif</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_entrepot.html">Entrepot</a> *&#160;</td>
          <td class="paramname"><em>pstock</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_carte.html">Carte</a> *&#160;</td>
          <td class="paramname"><em>pcarte</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>modif</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>z</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Fonction décrivant l'inaction d'un nain. </p>
<p>Pour l'heure, ne fait rien. Mais par la suite, qui sait ? </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pstock</td><td>Pointeur sur l'entrepôt du clan </td></tr>
    <tr><td class="paramname">pcarte</td><td>Pointeur sur la carte du jeu </td></tr>
    <tr><td class="paramname">modif</td><td>Entier, de combien on incrémente la <a class="el" href="struct_production.html" title="Définition d&#39;une Production.">Production</a> de la case </td></tr>
    <tr><td class="paramname">x</td><td>Entier non signé, coordonnée x de la case où se situe l'action </td></tr>
    <tr><td class="paramname">y</td><td>Entier non signé, coordonnée y de la case où se situe l'action </td></tr>
    <tr><td class="paramname">z</td><td>Entier non signé, coordonnée z de la case où se situe l'action </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a106e5177e2ab257222c550fd34989297"></a><!-- doxytag: member="Action.c::initAction" ref="a106e5177e2ab257222c550fd34989297" args="(Action *pact)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_action_8h.html#a106e5177e2ab257222c550fd34989297">initAction</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_action_8h.html#a7186d2fe0085d1d354cc50fafed6ae4d">Action</a> *&#160;</td>
          <td class="paramname"><em>pact</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Initialise une structure Action. </p>
<p>Met à NULL tous les pointeurs </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pact</td><td>Pointeur vers l'Action à initialiser </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a66aed0770879674de8afcc0255ff9eb5"></a><!-- doxytag: member="Action.c::libereAction" ref="a66aed0770879674de8afcc0255ff9eb5" args="(Action *pact)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_action_8h.html#a66aed0770879674de8afcc0255ff9eb5">libereAction</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_action_8h.html#a7186d2fe0085d1d354cc50fafed6ae4d">Action</a> *&#160;</td>
          <td class="paramname"><em>pact</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Libère la mémoire allouée aux champs de l'action donnée. </p>
<p>Met à NULL tous les Pointeurs, désalloue la mémoire réservée initialement pour les tableaux de char </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pact</td><td>Pointeur vers l'action à libérer </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a380e7d39713927b6c9fb33bdfd1ade60"></a><!-- doxytag: member="Action.c::recolteBois" ref="a380e7d39713927b6c9fb33bdfd1ade60" args="(Entrepot *pstock, Carte *pcarte, int modif, unsigned int x, unsigned int y, unsigned int z)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_action_8h.html#a380e7d39713927b6c9fb33bdfd1ade60">recolteBois</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_entrepot.html">Entrepot</a> *&#160;</td>
          <td class="paramname"><em>pstock</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_carte.html">Carte</a> *&#160;</td>
          <td class="paramname"><em>pcarte</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>modif</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>z</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Fonction décrivant l'action de récolte de bois. </p>
<p>Pour l'heure, ne fait rien. Mais par la suite, qui sait ? </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pstock</td><td>Pointeur sur l'entrepôt du clan </td></tr>
    <tr><td class="paramname">pcarte</td><td>Pointeur sur la carte du jeu </td></tr>
    <tr><td class="paramname">modif</td><td>Entier, de combien on incrémente la <a class="el" href="struct_production.html" title="Définition d&#39;une Production.">Production</a> de la case </td></tr>
    <tr><td class="paramname">x</td><td>Entier non signé, coordonnée x de la case où se situe l'action </td></tr>
    <tr><td class="paramname">y</td><td>Entier non signé, coordonnée y de la case où se situe l'action </td></tr>
    <tr><td class="paramname">z</td><td>Entier non signé, coordonnée z de la case où se situe l'action </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aa93148854d9f71f6e0f652a3fad61577"></a><!-- doxytag: member="Action.c::recolteMetal" ref="aa93148854d9f71f6e0f652a3fad61577" args="(Entrepot *pstock, Carte *pcarte, int modif, unsigned int x, unsigned int y, unsigned int z)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_action_8h.html#aa93148854d9f71f6e0f652a3fad61577">recolteMetal</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_entrepot.html">Entrepot</a> *&#160;</td>
          <td class="paramname"><em>pstock</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_carte.html">Carte</a> *&#160;</td>
          <td class="paramname"><em>pcarte</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>modif</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>z</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Fonction décrivant l'action de récolte de metal. </p>
<p>Pour l'heure, ne fait rien. Mais par la suite, qui sait ? </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pstock</td><td>Pointeur sur l'entrepôt du clan </td></tr>
    <tr><td class="paramname">pcarte</td><td>Pointeur sur la carte du jeu </td></tr>
    <tr><td class="paramname">modif</td><td>Entier, de combien on incrémente la <a class="el" href="struct_production.html" title="Définition d&#39;une Production.">Production</a> de la case </td></tr>
    <tr><td class="paramname">x</td><td>Entier non signé, coordonnée x de la case où se situe l'action </td></tr>
    <tr><td class="paramname">y</td><td>Entier non signé, coordonnée y de la case où se situe l'action </td></tr>
    <tr><td class="paramname">z</td><td>Entier non signé, coordonnée z de la case où se situe l'action </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a88179b7fa7a7c62b8f36fd7ff93b4e3b"></a><!-- doxytag: member="Action.c::setActionSuivanteAction" ref="a88179b7fa7a7c62b8f36fd7ff93b4e3b" args="(Action *pact, Action *pactSuiv)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_action_8h.html#a88179b7fa7a7c62b8f36fd7ff93b4e3b">setActionSuivanteAction</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_action_8h.html#a7186d2fe0085d1d354cc50fafed6ae4d">Action</a> *&#160;</td>
          <td class="paramname"><em>pact</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_action_8h.html#a7186d2fe0085d1d354cc50fafed6ae4d">Action</a> *&#160;</td>
          <td class="paramname"><em>pactSuiv</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Remplace le contenu du champ actionSuivante d'une Action donnée par un pointeur vers action passé en paramètre. </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pact</td><td>Pointeur vers une action </td></tr>
    <tr><td class="paramname">pactSuiv</td><td>Pointeur vers la nouvelle action suivante </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ae44b9859e56351c31c18f06445eb3e41"></a><!-- doxytag: member="Action.c::setFonctionAction" ref="ae44b9859e56351c31c18f06445eb3e41" args="(Action *pact, void(*pnouvFAct)(Entrepot *, Carte *, int, unsigned int, unsigned int, unsigned int))" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_action_8h.html#a43eb4f928ea1def54b1e3e95648e00c6">setFonctionAction</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_action_8h.html#a7186d2fe0085d1d354cc50fafed6ae4d">Action</a> *&#160;</td>
          <td class="paramname"><em>pact</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void(*)(<a class="el" href="struct_entrepot.html">Entrepot</a> *, <a class="el" href="struct_carte.html">Carte</a> *, int, unsigned int, unsigned int, unsigned int)&#160;</td>
          <td class="paramname"><em>pFAct</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Remplace le pointeur sur fonction d'une action donnée par un nouveau pointeur sur fonction passé en paramètre. </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pact</td><td>Pointeur vers une action </td></tr>
    <tr><td class="paramname">pFAct</td><td>Pointeur vers une fonction </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a4c7f3028936af90dd819039f6217de2c"></a><!-- doxytag: member="Action.c::setNomAction" ref="a4c7f3028936af90dd819039f6217de2c" args="(Action *pact, char *nouvNom)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_action_8h.html#a4c7f3028936af90dd819039f6217de2c">setNomAction</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_action_8h.html#a7186d2fe0085d1d354cc50fafed6ae4d">Action</a> *&#160;</td>
          <td class="paramname"><em>pact</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>nouvNom</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Remplace le nom d'une Action donnée par un nouveau nom. </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pact</td><td>Pointeur vers une action </td></tr>
    <tr><td class="paramname">nouvNom</td><td>Nom, chaîne de caractères </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aa7657d612129d80cd0b9bf4a42946d12"></a><!-- doxytag: member="Action.c::setRepresentationAction" ref="aa7657d612129d80cd0b9bf4a42946d12" args="(Action *pact, char *nouvRepres)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_action_8h.html#aa7657d612129d80cd0b9bf4a42946d12">setRepresentationAction</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_action_8h.html#a7186d2fe0085d1d354cc50fafed6ae4d">Action</a> *&#160;</td>
          <td class="paramname"><em>pact</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>nouvRepres</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Remplace le nom de la représentation d'une Action donnée par un nouveau nom. </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pact</td><td>Pointeur vers une action </td></tr>
    <tr><td class="paramname">nouvRepres</td><td>Nom, chaîne de caractères </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a3dbf74f9feb14ff872e23951386139e1"></a><!-- doxytag: member="Action.c::testAction" ref="a3dbf74f9feb14ff872e23951386139e1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_action_8h.html#a3dbf74f9feb14ff872e23951386139e1">testAction</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Teste les différentes fonctions du module Action. </p>
<p>Teste les différentes fonctions du module Action en les utilisant avec diverses valeurs plus ou moins probables </p>

</div>
</div>
<hr/><h2>Documentation des variables</h2>
<a class="anchor" id="a6645bb865d09687ed2dc12e7e0b00015"></a><!-- doxytag: member="Action.c::getFonctionAction" ref="a6645bb865d09687ed2dc12e7e0b00015" args="(const Action *pact)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void(*)(<a class="el" href="struct_entrepot.html">Entrepot</a> *, <a class="el" href="struct_carte.html">Carte</a> *, int, unsigned int, unsigned int, unsigned int) <a class="el" href="_action_8h.html#a6645bb865d09687ed2dc12e7e0b00015">getFonctionAction</a>(const <a class="el" href="_action_8h.html#a7186d2fe0085d1d354cc50fafed6ae4d">Action</a> *pact)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Tout</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Structures de données</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Fichiers</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Fonctions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Définitions de type</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Généré le Mardi Juin 4 2013 00:35:14 pour Exil par &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
